package com.example;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.example.utils.JSONUtil;

public class Test {

	public static void main(String[] args) {
		List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("id", 1);
		map.put("user", "法外狂徒");
		map.put("age", 34);
		list.add(map);
		map.put("sex", "男");
		map.put("job", "该溜子");
		System.out.println(JSONUtil.objToJsonStr(list));
	}
}
